package com.lhn.service;

import com.lhn.entity.User;

import java.util.List;

/**
 * @author lhn
 * @date 2024-10-11 23:04
 */

public interface UserService {
    List<User> findAll(int index, int limit);

    User findById(long id);

    int count();

    void deleteById(long id);

    void save(User user);

    void update(User user);
}
